package com.zy.oauth.dto.query;

import com.zy.db.enums.QueryTypeEnums;
import com.zy.db.pointcut.Q;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class PasswordQueryDto {


    @NotBlank
    @Q(QueryTypeEnums.eq)
    private String userId;
    @Q(QueryTypeEnums.eq)
    private String level;

    @NotNull
    @Q(value = QueryTypeEnums.eq, defaultValue = "0")
    private Integer isDel;

}
